Netbeans with Java 9 not creating /dis/lib

I have a project that is developed in netbeans using java 8. Now, I migrated to Java 9 and I am using a development version of netbeans. When I build the project using java 8 platform everything is OK and /dist/lib directory is created with the jars along with the project main jar file, but when I use java 9 platform only the project main jar is created and /dist/lib is not created.
The build is successful and I can run the project in the IDE the problem is that when I run the project jar it’s missing the library jars which are supposed to be in /dist/lib.