support for cmake style out of tree builds