Cleanup 2d/platform library references