Updated linux build to use -fvisibility=hidden