Reorganize linker options for consistency between platforms.
Change all platforms to GCC with C++11 options and all warnings.