Fixed a compile error that only appears when compiling with the OpenSDK.