seriously, this is why we have cmake/configure at the first place to detect this....