Restore building out of source with the unified build scheme