Fix building with --dynamic-linking option.
Fix building with --dynamic-linking option.

wxsBSD/yara-python,wxsBSD/yara-python,plusvic/yara-python,VirusTotal/yara-python,VirusTotal/yara-python,plusvic/yara-python