diff --git a/conda/meta.yaml b/conda/meta.yaml
index 8aca287339f5ef9e13978b8c9bd5dcdce372f38a..0d0cfb97504cf5ae80d6aedd55c7f65f6b3c9e64 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -51,14 +51,13 @@ requirements:
     - scikit-image
   optional:
     - bob.learn.tensorflow
-    - tensorflow
-    - mxnet
+    - {{ pin_compatible('tensorflow') }}  # [linux]
+    - mxnet {{ mxnet }}
 
 test:
   imports:
     - {{ name }}
   commands:
-    - display_face_annotations.py --help
     - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
     - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
     - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx