fixes #5721 This is to solve the fact that lmod needs to be configured by the user (to specify a core compiler).