add workaround for in-source builds when a tool another tool depends on has already been built; remove when #436 is fixed