prep for Makefile building so it can be used offline