Makefile will now auto detect libraries