Fixed prebuild deprecated interface. 

Now also fires on all project types, including Maven (old interface was not called by Maven projects since it was not calling the deprecated interface at all)

Note dependency added in pom.xml was automatic on my end. I'm not sure if other developers were failing to acquire the dependency or not. If you think that this is just an issue on my end, feel free to remove the dependency.