added crosscompilepath to build outside cm-tree