A copy of bbLean that can be easily compiled with msvc