move module build order classes to jps-shared

fixes broken build action on os x