More build fixes for case sensitive filesystems.