Create posix_mkdir() abstraction over environment-dependent mkdir()