prepare for sputnik
(not tested) better Makefile for osx