Speed up codegen compile time by moving unnecessary files out of cross compiled module.

This gets us about a 10x speedup (700ms to 70ms) and back to where we were before.

Change-Id: I76d9f73b0b74ba7f45e3590e22d6541c560e9a58
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3570
Tested-by: jenkins
Reviewed-by: Nong Li <nong@cloudera.com>