Fix issue with PATH being evaluated during compile time, another approach