Now builds without warnings about deprecated API

10.3.0 deprecated a an API which resulted in build warnings
when built on SDK 10.3.0