Fix getpass warnings and included necessary libs