Use Elliptics' Config.cmake file
Use make_error_code methods instead of error_code constructors