Fix for rust nightly