I could fix the issue by deleting all .dcu files from my DCU folder ; after this, the compiler worked without issues. I'm not sure why but i'm posting here to help someone that face the same issue.