Update for SDK 1.12

Fix compile error for new SDK