Added option USE_FREETYPE to CMake configuration, enabled by default. Added handling of HAVE_FREETYPE macros. genproj now overrides env.bat/env.sh on template change.