fix android compile errors