1. Fix linking error in MinGW