Add module to the build chain.

Fix compilation issues.