Respect -DCMAKE_BUILD_TYPE in cmake args
https://groups.google.com/forum/#!topic/zbackup/s6YWHGAS90w