Build now inserts contrived code to access the global object into built files