Set opt-level to 2 in dev profile