relocate wmake patch