Fix fedora loading compiled esp apps due to  bug