GCC 4.8+ fix ResourcesTypes.cpp