Explicitly build libraries as STATIC because of BUILD_SHARED_LIBS
BUILD_SHARED_LIBS controls whether the default library type is STATIC or SHARED. Normally it is STATIC but some distributions change this as it is the only way to specify a preference. For this project, the libraries cannot be SHARED so be explicit.