Fix load problems when using a release

Thanks to Jan Willem Luiten!