CMake: require pip only in developer-mode

Edited by Ammar Nejati