Code cleaning and minor fixes

Some cleaning and fixes including:
- Cleaned up code for ContinuousLR factor which is not supported yet.
- Fix a warning that happens for a clean `make build`
- Skip chunking on GP to ensure `make test` work on GP

See the commit messages for detail.