Add some checks for Posix compliancy