Fixed building of Allocore and examples on OS X.