Fix build on some systems.
Merge pull request #1 from Vproject/buildfix

Fix build on some systems.