Bootstrap can now be called from within a build directory.

Super simple change, only relies on "dirname", which is in POSIX. Get's rid of the annoyance of having to cd to the toplevel directory to bootstrap and then back to configure.