Include "mkstemp.h", without which linking on mingw32 fails.