Properly include libs in makefile