Support GCC versions earlier than 4.7