Adapt the library for the latest SDK (0.6.3.3_r24898).