support new build system