add suggestions from autoscan tool
bail if Fortran is not available
add explicit libm to resolve sincos in cpg/cpgdemo on Ubuntu 13.10