Made it compatible with HAXM

Fixes #22 (makes it run with HAXM emulator)