The invention relates to compounds of the formulaand to pharmaceutically acceptable salts thereof, wherein R1, R2, R3, R4, n and m are as defined herein. The compounds of formula I are useful in the treatment of hyperproliferative diseases, such as cancer. The invention further relates to processes of making the compounds of formula I and to methods of using such compounds in the treatment of hyperproliferative diseases.