Fix gps compilation