Add a function to get the current directory easily.
Add a function to compute absolute paths.
Use the client's current path when compiling stuff.