Cleanup and fix the build.

Signed-off-by: SkyFire <admin@projectskyfire.org>