Use GCC 4.7 for compilation, fix errors, enable PS3 controller