compile error caused by different versions of boost