jf-common: move deps up to specific build targets

Change-Id: Ifd3de28433abe7ca963190acb06a2bc9db72c59a