Arrange header buttons based on os.
Merge pull request #523 from LuckyThirteen/header_button_arrangement

Arrange header buttons based on os.