In order to make the installation work on OSX Mojave, I have noticed that first you have to run the command: "export CFLAGS='-stdlib=libc++' "