Fix some warnings on Linux
Merge pull request #1142 from lioncash/linucks

Fix some warnings on Linux