The present invention relates to a compound according to formula (I), wherein X and Y are either C and N or N and C; Z is CH2, CH2—CH2, CH2—NH, or NH; R1 is halogen, or R1 is alkyl, alkenyl, alkynyl, haloalkyl, alkoxy, cycloalkyl, alkoxycarbonyl, aryl, all of which are optionally substituted; R2 is hydrogen, or R2 is alkyl, cycloalkyl, alkoxy, heterocycloalkyl, aryl, heteroaryl, alkoxycarbonyl, aminocarbonyl, amino, all of which are optionally substituted; A is aryl, cycloalkyl, cycloalkenyl, heteroaryl, heterocycloalkyl or heterocycloalkenyl, all of which are optionally substituted; and pharmaceutically acceptable salts, hydrates, or solvates hereof. The invention further relates to said compounds for use in therapy, to pharmaceutical compositions comprising said compounds, to methods of treating diseases, e.g. dermal diseases, with said compounds, and to the use of said compounds in the manufacture of medicaments, in particular for the treatment of dermal diseases.