Fix target osl_errors.h on MacOS.