Fix for installation phase, thanks to schatty