Fix compiler logging to send to stderr