Fix compile error without libacl.
Merge pull request #982 from kacfengine/master

Fix compile error without libacl.