updated build so that it wil build correctly for uploading to maven central