Fix LDFLAGS position in compiler command
Rename 'def' builtin to 'define'