Change into the directory that the --file argument is located in.

This way, things don't break if you say `exmake -f foo/Exmakefile`.
Ensure library paths are expanded to absolute paths before adding them.