det.py: raise error if there are NaNs in data stream
cmake quick fix to get the thing to install, TODO proper fix