Dmd2066 compat

Hey all,

From this forum thread a pull request emerges:
http://forum.dlang.org/thread/hdbgedydihtxhqhopqjo@forum.dlang.org#post-djdmttnfyueoelpcvogx:40forum.dlang.org

Also added in a gitignore when I noticed the repo was missing one.

Cheers!