Fix compilation errors with PImpl