Only declare the replacement flock() ifndef SOLARIS_UCB