remove bad cast
pass CC we're using into apxs
update repo url