python depend only working under windows so

revert 6980da37549d9ae0a89812aeccfa5365c9f7a9b9 for the moment

Change-Id: I1c6e6d74bee6d3008e32c48c0da4a7faf90c8f60