making compatible with EE build system