Fix makefile tasks relating to src directory