support boost < 1.46