from eric
Make non-lsdev'ed builds work better for reconfigure.