support -o with precompiled headers; fixes #2320