converting to pe/pe32+ compatibility via build options