Out of source builds fixed