add support for compile to relative sub path