Makefile: Add rules and general improvements

Add LDFLAGS variable.
Compile large file support only in 32 bits architectures.
Add DESTDIR variable and install rule.

Signed-off-by: Luis Ortega <luiorpe1@gmail.com>