added -std-link-opts for higher -O levels