Allow building with boost 1.42.