Added cmake config and makes it build under linux