working compile for simgear and flightgear