fix CTFE errors in newer dmd version