Fix for windows linking.