Overridden output parameter causes dependent library linking to fail

By using the output name when the libs.names is unset, it will allow automatic linking when the `<output>` is used.
Resolves #57