update compiling

Signed-off-by: Thomas Scott <wolfy1339@outlook.com>
Merge https://github.com/wolfy1339/Powder-Sim2