add abi suffixes for gcc and enhance stage_project to handle install prefixes