Simplify build script: common assembly info, compile, test.