Fix some compiler warnings.
Drop symlink rule now that we fix things in the packaging.