Linux & cmake compatiblity