Add mousejoint source to static build too