prepareExports for require

Small hack, only works if knockout define as "knockout" and not "vendor/knockout" for example. Need to find a better way to check if knockout is loaded with require.