fixed makefile to compile libs for those downloading the repo.