Fix EOL in Platform.h
Tweak warnings for GCC