compile to different dir