Fix SAM module so that it doesn't error on Travis when SAM_INCLUDE_DIR is set to -NOTFOUND.