reverse linkage order for asneeded linking
get rid of some complier warnings
remove remaining warnings -D_FORTIFY_SOURCE=2
put .desktop files in xsessions for window managers