Fix recursive import. Do not make dnn import opt. opt stil import dnn

Fixing this in this PR will cause conflict with another PR. I'll change this in the other PR.