Add CROSS_COMPILE, INSTALL_DIR and MAN_INSTALL_DIR support.