Make the code compile properly using the Makefile (this should not work on Mac OS given the old version of gcc - use cland instead)