Update oes_types.h

Fix various compilation issues
Merge pull request #5 from eyalkeren/patch-5

Update oes_types.h