Continuous approximations of nonsmooth mappings