Fix to compile with LDC