Makefile: handle utility directory in libraries