fixes #267: command/build: set target_options.mainEntry as an absolute path