fix typo in configure option name
fix external build
Merge pull request #1 from tony2001/master

minor fixes