fix broken huawei makefiles