Update makefiles to work with new bmake.