Fix SL5 build