Fix build

Remove java7-like constructor