Fixed python and ld library paths