Made changes to allow compilation on linux with casablanca pplx