Fix compilation issue the ugly way