fix gps compile