Fixing errors in build.