Add all symbols to dynamic symbol table on linux/freebsd
Add all symbols to dynamic symbol table on linux/freebsd

This allows lua scripts to require modules written in C.

tarleb/hslua,osa1/hslua,osa1/hslua