Linker.lhs to prefer DSO when it's build as dynamic library