Update for naoqi version < 2.0
Merge pull request #2 from edgarriba/patch-1

Update for naoqi version < 2.0