Fix for check_alf_mod when not using variable IRF
Fix headers for gcc