add cached compile switch for tuncat
use mingw32 compile