Disables mlogc compilation with Curl was not found

This commit automatic disables Curl compilation if Curl development files were
not found on build machine.