Fixed some Linux compilation bugs