Must your newly compiled program reside in the same folder? Rather have it in a sub folder, or better still totally different folder.
If there are runtime files in the same folder this might not work as it has potentially the same problem as residing in Windows\system32.