Refactored the makefile to build more in parallel and to generate a dmg image to make OS X installation easier