Build drools-core before drools-beliefs.

Without this change, a compilation error can occur, because
drools-beliefs depends on drools-core.