Added another ugly GCC 4.6 compatibility hack