Check for API's existence instead of relying on version numbers

PR to get rid of version checking in a super gross way