Allows static libraries and DLLs to be built without having to do a 'make clean' in between on Cygwin and MinGW targets. The Cygwin build still crashes when SHARED_LIBRARIES = YES though, loading Com.dll seems to cause the problem.