Fix Windows compile after libenv split.
Merge pull request #1104 from kacfengine/master

Fix Windows compile after libenv split.