remove some warnings when compiled with android