Add build and generate script for Linux