Use the gluster project's recommended configure flags for FreeNAS.