Add check for allegro_init()