Fixed recent error in make-Makefile that would link up the built executable to a wrong installed directory. Also fixed GCC compile warning.
Added link of the rt library, which is apparently needed on gcc for some platforms. It seems to implement the time functionality from time().