Improve Makefile

* Remove unnecessary library dependency
* Speed up re-compilation