attempting to automate the library dependencies to make install smoother