Making SPT build on Mac.