fix build scripts and header comments.