Fix compilation errors in certain timeR configurations
Add timeR-scale command line option