[Bug 654729] [SMBTA] Fix the curses detection in the smbtatools build