updated BOLlib to have better header inclusion structure.