[DDMD] Implement enough of gluestub to pass the fail_compilation test cases