Switched to explicitly use cblas and corrected to use "C" external linkage. Verified on CentOS and Ubuntu.
Needs libcblas to be in a standard location or specified manually.
eg. - #options('linkOptions','-rPath,/usr/lib64/atlas,-L/usr/lib64/atlas')
Merge pull request #151 from starsid/master

Some minor portability fixes around including the blas libraries