Fix issue #1200: Restore ACL functionality

Uses os_* functions to restore ACL functionality, addresses #1200 
For Vim, `HAVE_POSIX_ACL` comes from `AC_DEFINE(HAVE_POSIX_ACL)` in configure.in.