Modify to D-Programming-Language/dmd#3904 compatibility