Fix build by not requiring optional module