Android compile fix (not tested)