fix squeeze's cmake 2.8.2 undefined CMAKE_CURRENT_LIST_DIR

@jschueller  Would
```
if(NOT CMAKE_CURRENT_LIST_DIR)
```
work?  It is less fragile than relying on specific version IMHO.