New option for shared/static; prettify of configuration overall