Update Makefile

1. Add -p option to preserve timestamp.
2. Add ldflags place.
3. Add prefix for different distros.