Fixed code to build for new API

Set target API to 19