Need to do static linking for atlas and cblas

Atlas and cblas are not included on Red Hat, they need to be statically linked for user convenience. I understand that we need this to work on ubuntu too, but I will need more time to investigate what issues may arise there.