Fixed BoundingObjects compilation issues