--static will take care of platform libs for us.