serf: move compile temp check into tests