[PATCH v2 01/10] Revert "makefiles: Use static importlibs on all platforms."