Fix compilation of dstep with 2.066

Two changes were necessary. One is trivial regression, not sure about
the cause for the second one but simply adding import helps.

Fixes https://github.com/jacob-carlborg/mambo/issues/2
Please follow existing indentation.