fix errors during configure and compilation steps

fix #5
Merge branch 'fix_issue_5'