[Build] Fix makefile and deps