Fixed missing includes.
Export class and functions in shared libraries.