fix for out of source build