Convert project to G++ due to clang bugs (>= 3.5.0).