Fix msys library name per target.