gcc: build without sysroot and /mingw hack

For Ray to test.