fix compile errors on windows, with setup BerkeyDB dir

Compile on windows, for the latest change of add depend to Berkeley DB.

First, install Berkely DB, setup DB_Version and $ENV{DBROOTDIR}