craype fixes for scr (#23510)
craype fixes for scr (#23510)

turn off static linking, add -ldl flag

Co-authored-by: Tamara Dahlgren <c6cbf61916fccc63bb27e34a67a98a380db93a98@users.noreply.github.com>
LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack,LLNL/spack