suck the propagating "has dynamic libs" check into a single makefile