fixed problem with external binaries when running from inside VisualStudio