Replaced a couple of 10.9-only methods with more available ones

Hey! I tried to install Alcatraz on Mountain Lion and it seemed like some of Mavericks-only methods were used. Guess they can replaced without harm :)