Fix build errors. #1