1329: fixed configuration to allow cross-architecture builds to work for libs and tools