Make build process more flexible.