Add PreBuild event for build on Win32 platform