Fix django standalone build