Switch boost lockfree queue check into configure

Fixes #199 

This could use checking on different combinations of boost and `--without-lockfree`