fix errors during configure and compilation steps

fix #5
Merge pull request #6 from bbinet/fix_issue_5

fix errors during configure and compilation steps (see #5)