set include path in global config as well
fix syntax err
allow configure for shared build
Merge pull request #22 from cpgf/minor-fixes

Minor fixes