Fix compile and install error under debian like distributions.
Ref: http://aaronin.jp/viewtopic.php?p=488438#488438
Merge pull request #4 from OmnipotentEntity/master

Fix compile and install error under debian like distributions.