Don't always build STATIC libraries

allow user to control with BUILD_SHARED_LIBS
Only add file to filelist if the file exists. Implement 'make install'

These conditional filelists help support multiple versions of the
library.