changed simlog to output x,y,z,weight

moved global linker options to local ones, when you remove global ones
you can compile MC again