Check for boost in ./configure

Review 1083 by @tryneus
Closes #1699