Styling changes
Fix a bug when compiling on an unsupported platform