Disable python interface when building configurations that only
build libstp as a static library otherwise we get configuration
errors.