Fix libtool warnings when compiling for Windows