reinstated inreplace "-u _PyMac_Error" flags

this will fix #26610 which failed the build with error:
   
    no such file or directory: 'Python.framework/Versions/2.7/Python'