Add optional file search directory to the build plugin
Sometimes the build system prints out relative paths that are not
relative to the current work directory. Adding a search path makes it
possible for the plugin to find and open the correct file.