Libmonkey: Check for python dependencies when building the python extension

Signed-off-by: kaspersky <gg.kaspersky@gmail.com>