related to #176: command/build: fix the target file path of the main entry