With one of the solutions described in this thread, you should be able to include a custom head conditionally.