Makefile: update dependencies on build