Fix build with boost 1.49

Summary: Debian Wheezy (and a couple other platforms) have this even
more ancient version of boost, which doesn't have
`error_with_option_name`. Adjust the ifdef.

Reviewed By: @JoelMarcey

Differential Revision: D1714258

Signature: t1:1714258:1417565551:b9ec04add2eb0a0ab8a39318cc35d18b990c27aa