Fixed a link error on x64 linux by providing the target in LDFLAGS.

The error was (similar for every object file):
```
/usr/bin/ld: i386 architecture of input file `build/obj/src/main.o' is incompatible with i386:x86-64 output
```