Fix compile error related to GPS config