applied patch to make oof api build
fix typos in Makefiles