Get rid of unused #define PI.
Use link-time optimization.