Fixes for platforms without at funcs and without ACL support