Fix allegro on windows and linux