fix out of source build