Fixed an issue with the manual build and the use of the currentProcessIdx