fixed out-of-sources build