Compiles fine for me for Arduino UNO, PID_v1 library 1.2.0, and Arduino IDE V1.8.2. What versions are you using?