Separating debug and install for emma