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