Compile to proper path