compiled the libraries on mac