Make usage of accept4 optional as it may not be present