Modified some armadillo files and Makefiles to compile on Linux.