adaptation for hammerhead

https://github.com/mer-hybris/libhybris/pull/4