ENH: rebased on main master and allow overwritting of the mac build prevention