Wheezy support

DO NOT MERGE. FOR REFERENCE.