fix compilation on old boost

and make sure to use transformed coords for bounding box.