use amd2 libraryTarget

This may change depending on sokra's feedback on naming in webpack#362