CMake update, drawTexture_part_flipped and GCC compatibility