Fix for custom annotations detection with Servlet 3.0