Conditionally compile the SAMBA related code