use make --directory instead of cd in a couple places