It has nothing to do with recompiling. When you ran the app with /IS the service information was created in the Registry.
If the wrong path is displaying on the Properties page in the services.msc app, easiest is to uninstall the service and reinstall it in the correct folder.
Or you could edit it in the Registry.