Fix BIT_ROOT_PREFIX in makefiles