More fixes detected through pyston integration

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>