Expand relative paths in /// <reference path="..." /> before compile

Now users doesn't need to use File.dirname(__FILE__) for <reference />.