Fix build settings used for dependencies that are referenced multiple times and remove the Mono-D generator.