LTO fix for gcc 4.9

GCC 4.9 changed the (default) format for object files when compiled with -flto, which make it incompatible with vanilla ar / ranlib.