Fixed out-of-tree build issue