Adjusted makefiles to copy deps to current dir.