Hopefully fix WIN64 and PI targets.