Be more explicit in Makefiles about external libraries linking