Depends fixes round1

Fix depends building on osx 10.8, and rebuild as necessary if funcs.mk changes