fixed for build from rust master (90b999aea1a4cfdda549c2ba8462d9eac23c681a)