Cross compile tools

Coding style: if you need to wrap the content of a method, start the body on the line below its definition (not at the right of `=`). Better, add braces.