Fix build script for missing registry.d file. Fixes #95.