fix(build): make it run well

1. remove unnecessary target directory
2. comparison update to run on linux