try exporting PATH from compile