Fixed the makefile.
ValueFunction now properly stores return values when necessary.