Expand relative paths in Compiler#compile