Fixed OSX framework build (closes #102)