Fix shadow build