curl included in another variable. Fixed spaces to tabs (makefile can not have spaces). Added dependencies to osx-test and added mkdir for build directories