ensure TARGET_GCC_VERSION is properly set