Make build system more independent of current directory.