Default to hidden visibility for Regal and statically linked library dependencies.