right now this configure switch does not fully work

attached diff (plain diff, not for git am) fixes this for me. 
please consider for inclusion