disable usb mass storage

Hi,

is there any other way then recompiling the kernel to disable that the BBB appears as an usb mass storage device on my windos box?
I want to use RNDIS and CDC serial but no usb mass storage.

Robert