makefile bugs fixings to go along with buildhive