Only pass executable name from run to build

run allows for other arguments than the executable name i.e. arguments
to pass to the executable when we run it. We need to filter these out
from the extraArgs we pass to build.