That need not be an issue - the PCB just needs proper protection from moisture. There are several techniques - from a "varnish" to full potting depending on application.
As an aside - I once visited the steel works at Scunthorpe on behalf of my telecoms equipment manufacturing employer. The chaps there told us that ordinary commercial PC's installed on the shop floor failed very quickly because of the atmosphere.