remove a few print outputs.

add -dynamic and -fvisibility=hidden to setup.py.

-fvisibility reduces the number of dynamics symbols from 1000 to 240.
-dynamic is for cray cc compatiblity.