Handle ${basedir}.

This is somewhat hacky, since we just define it to the be directory that
contains the pom.xml. That's usually true, but I'm sure Maven allows one to do
weird things.