move ezproxy main to package, fix build