Ugly code triple=mingw32