Support Boost 1.46 (needed for Ubuntu precise)

Intended for 1.7.3.