Posix layout, clang finding.

Patches for:
https://github.com/eranif/codelite/issues/551
https://github.com/eranif/codelite/issues/552