Mingw32 final fixes

A few more files were not working for the glut host. Fixed them up. Added missing system libs for the link stage. Removed plugin code.