Fix post build copy rules for Mac