imported changes from bmatheny branch wrt compile config handler being too greedy. doesn't work properly now, disabled for now, but still better than before. refs #127