Fixing build unittest target using exec