Check if BUF_SIZE is defined