Some changes to build scripts

Maybe we should name each source file with .c suffix. 
By some reason there are multiple definitions of gf_utc_time_since_1970() in the code. Functions are literally the same. So I didn't dig it and add -zmuldefs flag to the linker.