Fix installation.
Fixed more problems with installation and module searching.
Using more compiler flags in CMakeDInformation.cmake (similiar to CMakeCXXInformation.cmake).