The boost/python.hpp header needs to be imported first in order to work on OSX.