Fix compile on linux with cmake