Redefining macro to create build function