Added pdf support for windows