Fixed int test so that it will work with mingw and cygwin.