Oops, it turns out c99 doesn't have M_PI_2 on Ubuntu.  gnu99 it is.