Added dir_configs for all libs
Merge branch 'dir_config' of https://github.com/agarie/nmatrix into agarie-dir_config
Mac-related updates: added cgdb option, attempted to fix extconf
problems. Updated brew script.
Attempted to fix some yale slice-by-copy problems.
Improvement to extconf hopefully will allow Mac and Ubuntu compilation