Fix for Windows standalone project