Make function calls aliasable, add postgres dialect build