Fix to be able to build from dir different than source dir