Almost compiles

Waiting for: https://github.com/D-Programming-Language/dmd/pull/1660