Fix build errors and add default build step to "make".