Makefile: OSX need -dynamiclib option