fixed unix build
fixed some printf's