Fix cfg for linux/android