Fix issue #1200: Restore ACL functionality

Uses os_* functions to restore ACL functionality, addresses #1200 
Also need to define `HAVE_POSIX_ACL`.