Fixed post build events.

Fixed post build events to create bin directory if it does not exist.