fixes potential perf issue inside exec_verbose method

see CB-7060 WP8. Fix large project build performance issue