Fix build errors on Linux.
Merge pull request #22 from Sarcasm/master

Fix build errors on Linux