build: Sync ax_boost_base.m4 with upstream.

This should fix 32bit boost detection on Ubuntu Saucy+. Fixes #3945.
Merge pull request #4019

13a2283 build: Sync ax_boost_base.m4 with upstream. (Cory Fields)