Fixed linux linkage and a few indentations.