Fix output for building shared libraries per Chris' requirements