What if the roof insulation does not permit any free curb height?

Use a wooden edge beam between the roof surface and roof hatch flange to create extra height.