MinGW-w64 4.9 compatibility & misc

* NC version of BDB;
* Bump boost version to 1.57