Fix taking the actual library type given as a global "targetType" field when configurations are inferred. Fixes #92.