Resolve issues relating to compilation with clang-3.5.0
Move gcc-specific options to the appropriate wmake rules files