fix deployment on mac 11