Fix some errors when building for Android
Still remaining: to figure out why setting DQTANDROID_EXPORTED_TARGET makes cmake fails