fix the win32 compile, need to add the other targets