[DROOLS-543] try to compile all type declarations even if there was a former compilation problem
(cherry picked from commit 0a7991be1b038cd06e0506842e6e66b1a9db807e)