Added ifdefs for android