android build fix for web socket