link with gcc instead of ld