removed -lrt which does not seem necessary (for gcc-4.6 anyway) and missing in mingw