allow the old version of boost when building python2 code