Added CMake switch for lua or torch package paths

The default is the existing torch package paths.