Adding in build options for build type and library type (shared vs static). Updating CMakeLists to output this data and also removing hardcoded static vs shared libs so that new option can be used