Made TiledMapLoader a static library; fixed some includes