Latest FlightGear does not build cleanly using OpenSceneGraph 3.6.1 which is the latest version with all known security fixes - waiting for upstream to solve this.