make eiR compile with -pedantic flag