build: made the --start-with option more robust

fixes #60