Fixed main on Linux (Ubuntu) and added temp sensor type to config