Fixed duplicate assembly registration on mono
- Overwrite assemblies registered by name when finding reference assemblies.
- Also set the path of the framework directory

Fixed #252