CMakeLists.txt: Add POSIX version requirement and hide internal symbols

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>