Fixed compilation errors of p3 library.