Fixes for tutorial 1 for mac os x