fixed host prefix for installing mingw libs and that ar adheres to host