Presumably the problem is because sudo's idea of chown is one of them, but the other one is found first in the PATH. The solution seems obvious: reorder your PATH to match sudo. Or reconfig sudoers to match PATH. Of course Todd's suggestion to put both of them in sudoers works too.