cupid: Add c99 CFLAG for isfinite

The hope is that this will solve build issues with CentOS 5
since commit 3e9ce4ab6de46c5fe546187c22bf4b5c65fc4541.