Workaround is only for GCC 4.9.0-1. Also fix coding style & a patching bug