Fix building with GCC under default compilation options (-fno-permissive)