Use proper shared lib linker on OpenBSD

This fixes the '__guard_local' undefined symbol error for setuid_drv.so on OpenBSD 5.3. It changes the LD_SHARED command to use gcc rather than ld. Tested on OpenBSD 5.3 and FreeBSD 9.
Merge branch 'master' of github.com:fjoanis/yaws