use `.valueOf` instead of partial `.toString`
fixing typo in makefile
adjusting unit tests for global constructor objects
removing case for Function, as it's covered by valueOf below