Patches for Codegear C++ Builder 2009

[SVN r48981]
bcbboost branch rebased on current release

[SVN r49389]