Fix variable names in configure

Updated variables names to be more consistent with their corresponding long opts names
Merge pull request #289 from awiddersheim/patch-4

Fix variable names in configure