This cast fails in Windows.