converted to new cmake build system