fix build errors when using the default makefile, due to the new changes