fix ldconfig scan at startup