CMake: Avoid Werror for some noncritical warnings.
CMake: Define POSIX (for wibble).
wibble: Merge more changes from DIVINE/mainline.