I've found includes which leads to error:
any order of including <string> and <string.h>, but both should be included.
Then include elliptics/core.h and boost/python/object.hpp.