added the compile dependencies in a not happy way