General build changes and automation