#363 Fix output name of executable scripts when target name includes leading dot.
#363 Fix output name of MATLAB Compiler executables when target name includes leading dot.