fixed undefined reference issue
Merge pull request #170 from zebradog/master

fixed undefined reference issue