Fixed bug causing private symbols be regarded...

... as public, in libraries.