fixing build to include only necessary components