Fixed checking for BuildCraft APIs, now checks for the mod itself.

Reported by Apakura on IRC, http://pastebin.com/LpbKudD7

Crash is fixed by this commit.