Fixed some dumb build problems.