Include init_array/fini_array in linker script in order to support newer versions of GCC. Thanks to Simon Kohlmeyer for figuring this out.