Remove more redefinitions of library functions for MacOS X