Added a way to run callback functions for various autogenerated targets.
Fix environment loading for Visual Studio
Local-only static libs are exe dependencies.
Fix spelling error.