explicitly test Boost version because cmake detection does not do it.

Fail if boost version < 1.49 (as on Ubuntu 12.04)