Fix compilation error with SDK 1.8.11
Fix deperation warnings
version 0.3.2