Ubuntu 14.04 compilation fixes
-Wno-sign-compare
-Wno-type-limits
-Wno-unused-value
-Wno-unused-variable