Allow static ert

this is required if no shared  ERT libraries are build...