Fix some includes and warnings (which default to errors with current compiler settings) concerning unsigned int / int comparison
Merge pull request #1 from simonspa/master

Fix some includes and warnings for Linux compilation