Fix undefined reference
Merge pull request #9 from ac1dl3ak/patch-2

Fix undefined reference