For example, decorate the name on linux by:
1. Ignoring until last / (and ignoring that too)
2. Inserting lib
3. Skip to end
4. Insert .so
Also note that if there is just a naked filename, the path should be ./.
On windows, we just need to add .dll onto the end.
Diff:
This may be postponed to 0.9.
Diff: