Added ability to specify linker script.

Macros/Functions moved to toolchain file.
LTO disabled in debug builds.