Various build fixes

These will have to be tested with the build scripts on all platforms
Without this the build fails for me with the libnice headers because of some pedantic warnings :)