Simplify DLL Mapping

Attempt at simplifying the DLL mapping, make it work better with Mono.