fix Xcode jdk location, add const to const_uint8_t typedef