Add installation target and option to build as shared lib