Fix build to not generate empty jar