Various build process updates.

Read commit messages :+1: