Fixes for this has been committed upstream in allegro4 at https://github.com/liballeg/allegro4/commit/09d6855a150e24b731dd595b73b4a4323daa3c24
and https://github.com/liballeg/allegro4/commit/49461ca71352c750246d6a5baf0429c6f8d52906 if anyone want to cherry-pick those. /Andreas

