Fix case of out-of-source build