Fixes to BuildConfig due to different tomcat deployment style

At the moment we are no longer sharing jars via tomcat/common so spatial search needs
to keep hold of some it was discarding