fix problem with how Fcntl functions were called under strictures