configure: Detect AIX ar command instead of hardcoding it in the OS section