This reverts commit a03d0c7e95. Fix can be implemented easier in cmake configuration instead.
a03d0c7e95