Fix Android build
Merge pull request #26 from mbrubeck/monitor

Fix Android build. r=larsberg