Rewrite import paths
Handle unknown build version