Hide symbols in compiled modules

This should help platforms which have a slow dynamic linker by reducing the number of symbols to search through when linking.